

// https://github.com/remix-run/react-router/issues/8264
//页面跳转的封装。。
import { createBrowserHistory } from 'history'
import { unstable_HistoryRouter as HistoryRouter } from 'react-router-dom'
const history = createBrowserHistory()

export {
    HistoryRouter,//在App.js中代替<BrowserRouter><BrowserRouter/>
    history
}